package com.jiangchuang.service;

import com.github.pagehelper.PageInfo;
import com.jiangchuang.domain.entity.RiceDetail;
import com.jiangchuang.domain.entity.User;
import com.jiangchuang.domain.response.GetReviewRes;
import org.springframework.web.bind.annotation.RequestParam;

public interface IUserService {
    String userLogin(String name, String password);

    void addReviewNum(Integer num, Integer type);

    User getUserById(Integer uid);

    GetReviewRes getReviewNum(Integer adminId);

    void resetCurrentReview(Integer adminId);

    Integer editUserCoin(Integer uid,String ope, Integer coinNum);

    PageInfo<RiceDetail> getRiceDetail(Integer uid, int pageNo, int pageSize);

    Integer bannedUser(Integer uid);

    void clearUserInfo(Integer uid);
}
